/*
 * ConectionWindow.h
 *
 *  Created on: 04/06/2014
 *      Author: lucio
 */

#ifndef CONECTIONWINDOW_H_
#define CONECTIONWINDOW_H_
#include <gtkmm.h>
#include <gtkmm/window.h>
#include "GameListWindow.h"

class ConnectionWindow : public Gtk::Window {
protected:
	Glib::RefPtr<Gtk::Builder> builder;

	Gtk::Entry* IpEntry;
	Gtk::Entry* PortEntry;
	Gtk::Entry* UserNameEntry;
	Gtk::Button* ConnectButton;

	GameListWindow* glWindow;

	void ConnectButton_clicked();
public:

	ConnectionWindow(BaseObjectType* object,
			const Glib::RefPtr<Gtk::Builder> &Builder);
	virtual ~ConnectionWindow();
};

#endif /* CONECTIONWINDOW_H_ */
